﻿// =================================================================== 
// 项目说明
//====================================================================
// @Copy Right 2006-2008
// 文件： T_RECORD.cs
// 项目名称：Lovol 
// 创建时间：2011/10/19
// 负责人：
// ===================================================================
using System;
using System.Collections.Generic;
using System.Text;
using DP.Data.OracleClient;
using System.Configuration;
using DP.Data.SqlClient;
namespace CRM.Entity
{
    /// <summary>
    ///T_RECORD数据实体
    /// </summary>
    [Serializable]
    [OracleTable(TableName = "T_RECORD", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    [SqlTable(TableName = "T_RECORD", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    public class T_RECORD_Entity
    {
        #region 变量定义
        ///<summary>
        ///自增编号
        ///</summary>
        private long _aUTOID;
        ///<summary>
        ///录音记录inum
        ///</summary>
        private string _iNUM = String.Empty;
        ///<summary>
        ///开始时间
        ///</summary>
        private DateTime? _sTARTDATE;
        ///<summary>
        ///时长
        ///</summary>
        private long? _dURATION = 0;
        ///<summary>
        ///主被叫号码
        ///</summary>
        private string _pARTYNAMES = String.Empty;
        ///<summary>
        ///主号标识
        ///</summary>
        private string _cALLID = String.Empty;
        ///<summary>
        ///主叫号码
        ///</summary>
        private string _cALLER = String.Empty;
        ///<summary>
        ///被叫号码
        ///</summary>
        private string _cALLED = String.Empty;
        ///<summary>
        ///工单编号
        ///</summary>
        private long? _cASEID = 0;
        ///<summary>
        ///来电类型
        ///</summary>
        private string _cALLTYPE = String.Empty;
        ///<summary>
        ///工单类型
        ///</summary>
        private long? _cASETYPE = 0;
        ///<summary>
        ///创建时间
        ///</summary>
        private DateTime? _cREATETIME;
        ///<summary>
        ///创建人编号
        ///</summary>
        private long? _cREATEPEOPLEID = 0;
        ///<summary>
        ///创建人
        ///</summary>
        private string _cREATEPEOPLE = String.Empty;
        ///<summary>
        ///事业部编号
        ///</summary>
        private long? _bUSINESSDIVISIONID = 0;
        ///<summary>
        ///事业部名称
        ///</summary>
        private string _bUSINESSDIVISIONNAME = String.Empty;
        ///<summary>
        ///事业部代码
        ///</summary>
        private string _bUSINESSDIVISIONCODE = String.Empty;
        #endregion

        #region 构造函数
        ///<summary>
        ///
        ///</summary>
        public T_RECORD_Entity()
        {

        }
        #endregion

        #region 公共属性

        ///<summary>
        ///自增编号
        ///</summary>		
        [OracleColumn(IncrementPrimaryKey = false, PrimaryKey = true, SequenceName = "SQ_T_RECORD")]
        [SqlColumn(IncrementPrimaryKey = true, PrimaryKey = true)]
        public long AUTOID
        {
            get { return _aUTOID; }
            set { _aUTOID = value; }

        }

        ///<summary>
        ///录音记录inum
        ///</summary>		
        public string INUM
        {
            get { return _iNUM; }
            set
            {
                _iNUM = value;
            }

        }

        ///<summary>
        ///开始时间
        ///</summary>		
        public DateTime? STARTDATE
        {
            get { return _sTARTDATE; }
            set { _sTARTDATE = value; }

        }

        ///<summary>
        ///时长
        ///</summary>		
        public long? DURATION
        {
            get { return _dURATION; }
            set { _dURATION = value; }

        }

        ///<summary>
        ///主被叫号码
        ///</summary>		
        public string PARTYNAMES
        {
            get { return _pARTYNAMES; }
            set
            {
                _pARTYNAMES = value;
            }

        }

        ///<summary>
        ///主号标识
        ///</summary>		
        public string CALLID
        {
            get { return _cALLID; }
            set
            {
                _cALLID = value;
            }

        }

        ///<summary>
        ///主叫号码
        ///</summary>		
        public string CALLER
        {
            get { return _cALLER; }
            set
            {
                _cALLER = value;
            }

        }

        ///<summary>
        ///被叫号码
        ///</summary>		
        public string CALLED
        {
            get { return _cALLED; }
            set
            {
                _cALLED = value;
            }

        }

        ///<summary>
        ///工单编号
        ///</summary>		
        public long? CASEID
        {
            get { return _cASEID; }
            set { _cASEID = value; }

        }

        ///<summary>
        ///来电类型
        ///</summary>		
        public string CALLTYPE
        {
            get { return _cALLTYPE; }
            set
            {
                _cALLTYPE = value;
            }

        }

        ///<summary>
        ///工单类型
        ///</summary>		
        public long? CASETYPE
        {
            get { return _cASETYPE; }
            set { _cASETYPE = value; }

        }

        ///<summary>
        ///创建时间
        ///</summary>		
        public DateTime? CREATETIME
        {
            get { return _cREATETIME; }
            set { _cREATETIME = value; }

        }

        ///<summary>
        ///创建人编号
        ///</summary>		
        public long? CREATEPEOPLEID
        {
            get { return _cREATEPEOPLEID; }
            set { _cREATEPEOPLEID = value; }

        }

        ///<summary>
        ///创建人
        ///</summary>		
        public string CREATEPEOPLE
        {
            get { return _cREATEPEOPLE; }
            set
            {
                _cREATEPEOPLE = value;
            }

        }

        ///<summary>
        ///事业部编号
        ///</summary>		
        public long? BUSINESSDIVISIONID
        {
            get { return _bUSINESSDIVISIONID; }
            set { _bUSINESSDIVISIONID = value; }

        }

        ///<summary>
        ///事业部名称
        ///</summary>		
        public string BUSINESSDIVISIONNAME
        {
            get { return _bUSINESSDIVISIONNAME; }
            set
            {
                _bUSINESSDIVISIONNAME = value;
            }

        }

        ///<summary>
        ///事业部代码
        ///</summary>		
        public string BUSINESSDIVISIONCODE
        {
            get { return _bUSINESSDIVISIONCODE; }
            set
            {
                _bUSINESSDIVISIONCODE = value;
            }

        }


        #endregion

    }
}
